package com.smartcampusbackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.smartcampusbackend.model.RepairStatusLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

@Mapper
public interface RepairStatusLogMapper extends BaseMapper<RepairStatusLog> {
    
    // 获取维修申请的状态变更记录
    List<RepairStatusLog> selectByApplicationId(@Param("applicationId") Long applicationId);
    
    // 获取用户操作的状态变更记录
    List<RepairStatusLog> selectByOperatorId(@Param("operatorId") Integer operatorId);
} 